package com.xiaoxian.system.domain;

import com.xiaoxian.basic.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("部门")
@Data
public class DictionaryDetail extends BaseDomain {
    /**
     * 部门名字
     */
    @ApiModelProperty("数字字典名称")
    @NotEmpty(message = "数字字典名称不能为空")
    private String name;
    /**
     * 数字字典类型对象
     */
    private DictionaryType types;
    /**
     * 数字字典类型id
     */
    private Long types_id;

}
